import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

//Vuex
export default new Vuex.Store({
	state: {
		//for 导航菜单
		navroutes: [],
		loginSession:{}
	},
	mutations: {
		initMenu(state, menus){
			state.navroutes = nemus;
		}
	}
});
